package appapi.entity.AppAmg;

import appapi.entity.app.MaintenandetailEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.beans.BeanUtils;

import java.util.List;

@ApiModel(value = "维保记录详情")
@Data
public class MaintenandetailImgDto {
    /**
     * 维保项目详情记录id
     */
    @ApiModelProperty(value = "维保项目详情记录id")
    private Long maintenanRecId;

    /**
     * 维保id
     */
    @ApiModelProperty(value = "维保id")
    private Long mainId;

    /**
     * 维保项目名称
     */
    @ApiModelProperty(value = "维保项目名称")
    private String maintenanName;

    /**
     * 维保要求
     */
    @ApiModelProperty(value = "维保要求")
    private String maintenanNeed;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String maintenanRemark;

    /**
     * 维保照片
     */
    @ApiModelProperty(value = "照片")
    private List<String> Img;
    public MaintenandetailEntity vo2Entity() {
        MaintenandetailEntity entity = new MaintenandetailEntity();
        BeanUtils.copyProperties(this, entity);
        return entity;
    }
}
